package com.day11Test;

public class Interface1 {
	public static void main(String[] args) {
		Fruit f = new Apple();
		f.play();
		f.study();
		
	}
}
interface Fruit{
	void play();
	void study();
	
}

class Apple implements Fruit{
	@Override
	public void play() {
		System.out.println("eat");
	}
	@Override
	public void study() {
		System.out.println("English");
	}
	
}
